package com.ruoyi.st.service;

import com.ruoyi.st.domain.StOrderDetail;

import java.util.List;

/**
 * 订单详情 (st_order_detail)Service接口
 * 
 * @author ruoyi
 * @date 2024-11-06
 */
public interface IStOrderDetailService 
{
    /**
     * 查询订单详情 (st_order_detail)
     * 
     * @param id 订单详情 (st_order_detail)主键
     * @return 订单详情 (st_order_detail)
     */
    public StOrderDetail selectStOrderDetailById(Long id);

    /**
     * 查询订单详情 (st_order_detail)列表
     * 
     * @param stOrderDetail 订单详情 (st_order_detail)
     * @return 订单详情 (st_order_detail)集合
     */
    public List<StOrderDetail> selectStOrderDetailList(StOrderDetail stOrderDetail);

    /**
     * 新增订单详情 (st_order_detail)
     * 
     * @param stOrderDetail 订单详情 (st_order_detail)
     * @return 结果
     */
    public int insertStOrderDetail(StOrderDetail stOrderDetail);

    /**
     * 修改订单详情 (st_order_detail)
     * 
     * @param stOrderDetail 订单详情 (st_order_detail)
     * @return 结果
     */
    public int updateStOrderDetail(StOrderDetail stOrderDetail);

    /**
     * 批量删除订单详情 (st_order_detail)
     * 
     * @param ids 需要删除的订单详情 (st_order_detail)主键集合
     * @return 结果
     */
    public int deleteStOrderDetailByIds(Long[] ids);

    /**
     * 删除订单详情 (st_order_detail)信息
     * 
     * @param id 订单详情 (st_order_detail)主键
     * @return 结果
     */
    public int deleteStOrderDetailById(Long id);
}
